package com.lqq.designPattern.structural_pattern.adapter.classAdapter;

//适配器类（SD兼容TF）
public class SDAdapterTF extends TFCardImpl implements SDCard {
    @Override
    public String readSD() {
        System.out.println("Adapter read TFCard");

        return readTF();
    }

    @Override
    public void writeSD(String data) {
        System.out.println("Adapter write TFCard");
        writeTF(data);
    }
}
